﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="ResetPassword.aspx.cs" Inherits="Administration_ResetPassword" Title="Crux - Reset Password"
    CodeFileBaseClass="BaseView" ViewName="ResetPassword" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="crux" %>
<%@ Register Src="~/Controls/Common/WaterMarkedTextBox.ascx" TagName="WaterMarkedTextBox"
    TagPrefix="crux" %>
<%@ Register Src="~/Controls/Common/ErrorNotification.ascx" TagName="ErrNotification"
    TagPrefix="crux" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<asp:ScriptManager ID="scriptManager" runat="server">
            </asp:ScriptManager>
    <asp:UpdatePanel ID="updatePanelLogin" runat="server">
        <ContentTemplate>
            
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td colspan="2" class="formGroupGap">
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="middle" class="formLeftColmnWidth">
                        <asp:Label runat="server" ID="lblNewPassword" Text="New Password:"  />
                    </td>
                    <td align="left" valign="middle" class="formRightColmnWidth2">
                        <crux:WaterMarkedTextBox ID="txtNewPassword" runat="server" WaterMarkText="Password"
                            Width="180" MaxLength="200" TextMode="Password" ErrorText="New Password is required."
                            ValueRequired="true" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="formFieldGap">
                    </td>
                </tr>
                <tr>
                    <td align="right" valign="middle" class="formLeftColmnWidth">
                        <asp:Label runat="server" ID="lblConfirmedNewPassword" Text="Confirm Password:" />
                    </td>
                    <td align="left" valign="middle" class="formRightColmnWidth2">
                        <crux:WaterMarkedTextBox ID="txtConfirmedNewPassword" runat="server" WaterMarkText="Password"
                            Width="180" MaxLength="200" TextMode="Password" ErrorText="Confirmation Of Password is required."
                            ValueRequired="true" />
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="formGroupGap">
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td align="left">
                        <asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click" />
                        &nbsp;
                        <asp:Button ID="btnCancel" CausesValidation="false" runat="server" Text="Cancel"
                            OnClick="btnCancel_Click" />
                    </td>
                </tr>
            </table>
            <crux:ErrNotification ID="pnlError" runat="server" />
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
